package com.nervenets.web.controller.handler.user.user;

import com.nervenets.web.annotation.NeedValidation;
import com.nervenets.web.controller.handler.ApiParams;
import com.nervenets.web.validation.Type;

public class UserWeixinCheckParams extends ApiParams {
    @NeedValidation(type = Type.NOTEMPTY, description = "微信返回的openId")
    private String openId;
    @NeedValidation(type = Type.NOTEMPTY, description = "微信返回的unionId")
    private String unionId;

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }
}
